package smartlifev30.com.sdk.bean.request;

import java.util.List;

import smartlifev30.com.sdk.net.baiwei.protocol.Body;

/**
 * Created by tys on 2018/8/14.
 */

public class EditZoneRequest extends Body{
    private  Zone zone;

    public Zone getZone() {
        return zone;
    }

    public void setZone(Zone zone) {
        this.zone = zone;
    }

    public class Zone {
        private String name;
        private String state;
        private long delay;
        private List<SensorList> sensor_list;

        public class SensorList{
            private int id;
            private String state;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public long getDelay() {
            return delay;
        }

        public void setDelay(long delay) {
            this.delay = delay;
        }

        public List<SensorList> getSensor_list() {
            return sensor_list;
        }

        public void setSensor_list(List<SensorList> sensor_list) {
            this.sensor_list = sensor_list;
        }
    }
}
